package com.thread;

/**
 * @author :Mr.zhou
 * @description: TODO edit class Description
 * @create date: 2024/8/26 15:26
 */
public class ThreadT1 {
    public static void main(String[] args) {
        Thread t1 = new Thread(){
            @Override
            public void run() {
                System.out.println("pong");
            }
        };
        t1.start();
        System.out.println("ping");
    }

    static void prt() {
        System.out.println("pong");
    }
}
